/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.financial.entity.bydconfig;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import org.hibernate.validator.constraints.Length;

/**
 * t_byd_configEntity
 * @author lucky
 * @version 2021-04-07
 */
@Table(name="t_byd_config", alias="a", columns={
		@Column(name="byd_config_id", attrName="bydConfigId", label="byd_config_id", isPK=true),
		@Column(name="byd_config_code", attrName="bydConfigCode", label="byd_config_code"),
		@Column(name="byd_host", attrName="bydHost", label="byd_host"),
		@Column(name="byd_authorization", attrName="bydAuthorization", label="byd_authorization"),
		@Column(name="byd_username", attrName="bydUsername", label="byd_username"),
		@Column(name="byd_password", attrName="bydPassword", label="byd_password"),
		@Column(name="byd_company_id", attrName="bydCompanyId", label="byd_company_id"),
		@Column(name="byd_system_id", attrName="bydSystemId", label="byd_system_id"),
		@Column(name="byd_type_code", attrName="bydTypeCode", label="byd_type_code"),
	}, orderBy="a.byd_config_id DESC"
)
public class TbydConfig extends DataEntity<TbydConfig> {

	private static final long serialVersionUID = 1L;
	private String bydConfigId;		// byd_config_id
	private String bydConfigCode;		// byd_config_code
	private String bydHost;		// byd_host
	private String bydAuthorization;		// byd_authorization
	private String bydUsername;		// byd_username
	private String bydPassword;		// byd_password
	private String bydCompanyId;		// byd_company_id
	private String bydSystemId;		// byd_system_id
	private String bydTypeCode;		// byd_type_code

	public TbydConfig() {
		this(null);
	}

	public TbydConfig(String id){
		super(id);
	}

	public String getBydConfigId() {
		return bydConfigId;
	}

	public void setBydConfigId(String bydConfigId) {
		this.bydConfigId = bydConfigId;
	}

	@Length(min=0, max=64, message="byd_config_code长度不能超过 64 个字符")
	public String getBydConfigCode() {
		return bydConfigCode;
	}

	public void setBydConfigCode(String bydConfigCode) {
		this.bydConfigCode = bydConfigCode;
	}

	@Length(min=0, max=150, message="byd_host长度不能超过 150 个字符")
	public String getBydHost() {
		return bydHost;
	}

	public void setBydHost(String bydHost) {
		this.bydHost = bydHost;
	}

	@Length(min=0, max=100, message="byd_authorization长度不能超过 100 个字符")
	public String getBydAuthorization() {
		return bydAuthorization;
	}

	public void setBydAuthorization(String bydAuthorization) {
		this.bydAuthorization = bydAuthorization;
	}

	@Length(min=0, max=50, message="byd_username长度不能超过 50 个字符")
	public String getBydUsername() {
		return bydUsername;
	}

	public void setBydUsername(String bydUsername) {
		this.bydUsername = bydUsername;
	}

	@Length(min=0, max=50, message="byd_password长度不能超过 50 个字符")
	public String getBydPassword() {
		return bydPassword;
	}

	public void setBydPassword(String bydPassword) {
		this.bydPassword = bydPassword;
	}

	@Length(min=0, max=20, message="byd_company_id长度不能超过 20 个字符")
	public String getBydCompanyId() {
		return bydCompanyId;
	}

	public void setBydCompanyId(String bydCompanyId) {
		this.bydCompanyId = bydCompanyId;
	}

	@Length(min=0, max=20, message="byd_system_id长度不能超过 20 个字符")
	public String getBydSystemId() {
		return bydSystemId;
	}

	public void setBydSystemId(String bydSystemId) {
		this.bydSystemId = bydSystemId;
	}

	@Length(min=0, max=20, message="byd_type_code长度不能超过 20 个字符")
	public String getBydTypeCode() {
		return bydTypeCode;
	}

	public void setBydTypeCode(String bydTypeCode) {
		this.bydTypeCode = bydTypeCode;
	}

}
